<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>表单页面</title>
	</head>
	<link  rel="stylesheet" href="../../css/form.css"/>
	<body>
		
		<div class="form" style="width: 400px;" id="form">
			<div class="item">
				<label>姓名: </label>
				<input type="input" class="input_text"/>
			</div>
			<div class="item">
				<label>下拉框: </label>
				<select>
					<option value="A">选择</option>
					<option value="B">选择</option>
					<option value="C">选择</option>
				</select>
			</div>
		</div>
		
		
		<script src="../../js/xiong.js"></script>
		<script>
		  let form=document.getElementById('form');
		  function callback(node){
			  if(node.nodeName=='SELECT'){
				  const childNodes = Array.from(node.childNodes);
				  childNodes.forEach(e=>{
					  console.log(e);
				  })
				  
			  }
		  }
		  app.recursiveProcessNode(form,callback);
		  
		 
	
		  
		  
			
		</script>
	</body>
</html>